package com.situ.yB2C.base.pojo;

import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;

import lombok.Getter;
import lombok.Setter;

//@Data
// @Setter @Getter 再开发的时候不需要书写 setting getting 的方法

@Setter
@Getter
public class BaseClass implements Serializable {

	private static final long serialVersionUID = 1L;

	// 表明是个主键
	@TableId(type = IdType.AUTO)
	protected Long rowId;

	// 支持逻辑删除
	@TableLogic(delval = "0", value = "1")
	protected Integer activeFlag;
	protected String createBy;
	protected Date createDate;
	protected String updateBy;
	protected Date updateDate;

}
